package me.shiqiang.im.service;

import com.tst.common.returnobj.BaseReturnObj;
import me.shiqiang.im.vo.LoginStatisticsVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by John on 2018/2/7
 */
@FeignClient(name = "im-http-service")
@RequestMapping("im/statistics")
public interface StatisticsClient {

    @PostMapping("/login")
    BaseReturnObj saveLoginStatistics(@RequestBody LoginStatisticsVo loginStatisticsVo);
}
